home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 April: Mac OS SDK / Dev.CD Apr 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Interfaces / AIncludes / CRMSerialDevices.a < prev    next >
Encoding:
Text File  |  1996-01-24  |  1.8 KB  |  60 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        CRMSerialDevices.a
  3. ;
  4. ;    Contains:    Communications Resource Manager Serial Device interfaces.
  5. ;
  6. ;    Version:    Technology:    System 7.5
  7. ;                Package:    Universal Interfaces 2.2 in “MPW” on ETO #20
  8. ;
  9. ;    Copyright:    © 1984-1995 by Apple Computer, Inc.
  10. ;                All rights reserved.
  11. ;
  12. ;    Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  13. ;                stack.  Include the file and version information (from above)
  14. ;                in the problem description and send to:
  15. ;                    Internet:    apple.bugs@applelink.apple.com
  16. ;                    AppleLink:    APPLE.BUGS
  17. ;
  18. ;
  19.  
  20.     IF &TYPE('__CRMSERIALDEVICES__') = 'UNDEFINED' THEN
  21. __CRMSERIALDEVICES__ SET 1
  22.  
  23.  
  24.     IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
  25.     include 'Types.a'
  26.     ENDIF
  27. ;        include 'ConditionalMacros.a'                                ;
  28.  
  29. ;     for the crmDeviceType field of the CRMRec data structure    
  30. crmSerialDevice                    EQU        1
  31. ;    version of the CRMSerialRecord below    
  32. curCRMSerRecVers                EQU        1
  33.  
  34. ; Maintains compatibility w/ apps & tools that expect an old style icon    
  35. CRMIconRecord             RECORD    0
  36. oldIcon                     ds.l   32        ; offset: $0 (0)        ; ICN#    
  37. oldMask                     ds.l   32        ; offset: $80 (128)
  38. theSuite                 ds.l   1        ; offset: $100 (256)    ; Handle to an IconSuite    
  39. reserved                 ds.l   1        ; offset: $104 (260)
  40. sizeof                     EQU *            ; size:   $108 (264)
  41.                         ENDR
  42.  
  43. ; typedef struct CRMIconRecord  CRMIconRecord
  44. ; typedef CRMIconRecord     *CRMIconPtr, **CRMIconHandle
  45. CRMSerialRecord         RECORD    0
  46. version                     ds.w   1        ; offset: $0 (0)
  47. inputDriverName             ds.l   1        ; offset: $2 (2)
  48. outputDriverName         ds.l   1        ; offset: $6 (6)
  49. name                     ds.l   1        ; offset: $A (10)
  50. deviceIcon                 ds.l   1        ; offset: $E (14)
  51. ratedSpeed                 ds.l   1        ; offset: $12 (18)
  52. maxSpeed                 ds.l   1        ; offset: $16 (22)
  53. reserved                 ds.l   1        ; offset: $1A (26)
  54. sizeof                     EQU *            ; size:   $1E (30)
  55.                         ENDR
  56.  
  57. ; typedef struct CRMSerialRecord  CRMSerialRecord
  58. ; typedef CRMSerialRecord     *CRMSerialPtr
  59.     ENDIF ; __CRMSERIALDEVICES__
  60.